<%--
  Created by IntelliJ IDEA.
  User: ml
  Date: 2017/12/21
  Time: 11:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>
    <title>分销产品配置</title>
    <%@ include file="/common/include-core.jsp" %>
    <%@ include file="/common/jspTemplate.jsp" %>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 活动管理 <span class="c-gray en">&gt;</span> 分销产品配置 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <div class="text-c">
        <form action="/admin/productEntity/getSerialList.html" method="post" id="searchForm">
            <input type="hidden" id="count" value="${pageInfo.total }" />
            <input type="hidden" id="page" name="page" value="${pageInfo.pageNum }" />
            <input type="hidden" id="pageSize" name="pageSize" value="${pageInfo.pageSize }" />
          <%--  <input type="text" name="productEntityName"  value="${bean.productEntityName }" placeholder=" 请输入你要查询的产品名称" style="width:250px" class="input-text">
            <button name="" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>--%>
        </form>
    </div>
    <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"> <a class="btn btn-primary radius" onclick="layerTools.layerShowFullScreen('新增','/admin/distributionConfig/getDistributionConfig.html','')" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 新增</a></span> </div>
    <div class="mt-20 portfolio-content">
        <table class="table table-border table-bordered table-bg table-hover table-sort">
            <thead>
            <tr class="text-c">
                <th width="13%">姓名</th>
                <th width="13%">电话</th>
                <th width="5%">地址</th>
                <th width="5%">留言信息</th>
                <th width="5%">回访时段</th>
                <th width="5%">状态</th>
                <th width="5%">操作</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${pageInfo.list}" var="item" varStatus="index">
                <tr class="text-c">
                    <td >
                        ${item.name}
                    </td>
                    <td >
                            ${item.phone}
                    </td>
                    <td >${item.address}</td>
                    <td >${item.message}</td>
                    <td >
                    <c:if test="${item.visit==1}">
随时
                    </c:if>
                    <c:if test="${item.visit==2}">
上班时间
                    </c:if>
                    <c:if test="${item.visit==3}">
下班时间
                    </c:if>
                     </td>
<td>
    <c:if test="${item.status==0}">未回访</c:if>
    <c:if test="${item.status==1}">已回访</c:if>
</td>

                    <td class="td-manage">
                        <c:if test="${item.status==0}">
                            <a style="text-decoration:none" class="ml-5" onclick="setVisit(${item.tid});"
                               href="javascript:;" title="回访"><i class="Hui-iconfont">&#xe63c;</i></a>

                        </c:if>


                    </td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
        <div class="ui-page tr mt10" style="float: right;margin-top: 10px;margin-bottom: 10px"></div>
    </div>
</div>
<!--_footer 作为公共模版分离出去-->
 <script type="text/javascript" src="/static/js/admin/messageBoard/messageBoard.js"></script>
<%@ include file="/common/include-footer.jsp" %>
</body>
</html>
